Skip to content

feat: upgrade effect to 4.0.0-beta.93#223

Merged
floydspace merged 2 commits into
floydspace:betafrom
godu:chore/effect-beta93
Jul 18, 2026
Merged

feat: upgrade effect to 4.0.0-beta.93#223
floydspace merged 2 commits into
floydspace:betafrom
godu:chore/effect-beta93

Conversation

@godu

@godu godu commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Upgrade effect and @effect/* from 4.0.0-beta.484.0.0-beta.93 (via projen) and migrate to the API shape introduced in effect@4.0.0-beta.66 — see Effect-TS/effect-smol#2159 (Yieldable removal; underlying change Effect-TS/effect-smol#2163).

Changes

  • beta.66 Yieldable removal migration:
    • drop .asEffect()Context.Service/Reference and Config now extend Effect directly (powertools-logger, powertools-tracer, dynamodb, s3, and the ssm/secrets-manager ConfigProvider tests)
    • yield* OptionEffect.fromOption (s3 multipartUpload)
    • fix TS4023 in commons/Service.ts via explicit return-type annotations
  • raise the effect peer range floor to >=4.0.0-beta.66 <5.0.0 across all 70 packages, since the migrated code relies on the beta.66 shape and would fail on older effect.

Verification

  • pnpm -r --filter './packages/*' compile — green
  • full test suite — 409 tests passing
  • generator (scripts/generate-client.ts) emits byte-identical output for un-drifted clients under beta.93

🤖 Generated with Claude Code

Bump effect and @effect/* deps from beta.48 to beta.93 (via projen) and
migrate to the beta.66 API shape after the Yieldable interface removal
(Effect-TS/effect-smol#2163):

- drop .asEffect() — Context.Service/Reference and Config now extend
  Effect directly (powertools-logger, powertools-tracer, dynamodb, s3,
  and the ssm/secrets-manager ConfigProvider tests)
- yield* Option -> Effect.fromOption (s3 multipartUpload)
- fix TS4023 in commons/Service.ts via explicit return-type annotations
- raise the effect peer range floor to >=4.0.0-beta.66 <5.0.0

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jul 7, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3e13262

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@effect-aws/powertools-logger Minor
@effect-aws/powertools-tracer Minor
@effect-aws/dynamodb Minor
@effect-aws/s3 Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@floydspace
floydspace merged commit c12d05d into floydspace:beta Jul 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants